package com.handpay.nocardpay.baselibrary.pay.uniopayquick.model.bean;

import android.os.Parcel;

import com.handpay.nocardpay.baselibrary.commbase.model.bean.BaseResponseBean;


public class UnionQuickPayRespBean extends BaseResponseBean {
    private int status = -1;
    private String transStatus;
    private int cardType = -1;
    private String transTime;
    private String merchantcode;
    private String transAccount;
    private String transSN;
    private String amount;
    private String  prizeTotalAmount;
    private String  prizeTotalNum;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getTransStatus() {
        return transStatus;
    }

    public void setTransStatus(String transStatus) {
        this.transStatus = transStatus;
    }

    public int getCardType() {
        return cardType;
    }

    public void setCardType(int cardType) {
        this.cardType = cardType;
    }

    public String getTransTime() {
        return transTime;
    }

    public void setTransTime(String transTime) {
        this.transTime = transTime;
    }

    public String getMerchantcode() {
        return merchantcode;
    }

    public void setMerchantcode(String merchantcode) {
        this.merchantcode = merchantcode;
    }

    public String getTransAccount() {
        return transAccount;
    }

    public void setTransAccount(String transAccount) {
        this.transAccount = transAccount;
    }

    public String getTransSN() {
        return transSN;
    }

    public void setTransSN(String transSN) {
        this.transSN = transSN;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getPrizeTotalAmount() {
        return prizeTotalAmount;
    }

    public void setPrizeTotalAmount(String prizeTotalAmount) {
        this.prizeTotalAmount = prizeTotalAmount;
    }

    public String getPrizeTotalNum() {
        return prizeTotalNum;
    }

    public void setPrizeTotalNum(String prizeTotalNum) {
        this.prizeTotalNum = prizeTotalNum;
    }

    public UnionQuickPayRespBean() {
    }

    @Override
    public String toString() {
        return "UnionQuickPayRespBean{" +
                "status=" + status +
                ", transStatus='" + transStatus + '\'' +
                ", cardType=" + cardType +
                ", transTime='" + transTime + '\'' +
                ", merchantcode='" + merchantcode + '\'' +
                ", transAccount='" + transAccount + '\'' +
                ", transSN='" + transSN + '\'' +
                ", amount='" + amount + '\'' +
                ", prizeTotalAmount='" + prizeTotalAmount + '\'' +
                ", prizeTotalNum='" + prizeTotalNum + '\'' +
                '}';
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeInt(this.status);
        dest.writeString(this.transStatus);
        dest.writeInt(this.cardType);
        dest.writeString(this.transTime);
        dest.writeString(this.merchantcode);
        dest.writeString(this.transAccount);
        dest.writeString(this.transSN);
        dest.writeString(this.amount);
        dest.writeString(this.prizeTotalAmount);
        dest.writeString(this.prizeTotalNum);
    }

    protected UnionQuickPayRespBean(Parcel in) {
        super(in);
        this.status = in.readInt();
        this.transStatus = in.readString();
        this.cardType = in.readInt();
        this.transTime = in.readString();
        this.merchantcode = in.readString();
        this.transAccount = in.readString();
        this.transSN = in.readString();
        this.amount = in.readString();
        this.prizeTotalAmount = in.readString();
        this.prizeTotalNum = in.readString();
    }

    public static final Creator<UnionQuickPayRespBean> CREATOR = new Creator<UnionQuickPayRespBean>() {
        @Override
        public UnionQuickPayRespBean createFromParcel(Parcel source) {
            return new UnionQuickPayRespBean(source);
        }

        @Override
        public UnionQuickPayRespBean[] newArray(int size) {
            return new UnionQuickPayRespBean[size];
        }
    };
}
